1: | app(app(F,app(app(F,f),x)),x) | → app(app(F,app(G,app(app(F,f),x))),app(f,x)) | |
2: | APP(app(F,app(app(F,f),x)),x) | → APP(app(F,app(G,app(app(F,f),x))),app(f,x)) | |
3: | APP(app(F,app(app(F,f),x)),x) | → APP(F,app(G,app(app(F,f),x))) | |
4: | APP(app(F,app(app(F,f),x)),x) | → APP(G,app(app(F,f),x)) | |
5: | APP(app(F,app(app(F,f),x)),x) | → APP(f,x) | |